package com.nealin.shardingjdbctable.entity;

import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 订单表(Order)实体类
 *
 * @author HuangBingzhi
 * @since 2020-04-12 23:00:56
 */
@Data
@Accessors(chain=true)
public class Order implements Serializable {
    private static final long serialVersionUID = -39451787184266530L;
    private Long orderId;
    /**
    * 订单名
    */
    private String orderName;
    /**
    * 用户名称
    */
    private Long createUser;
    /**
    * 创建时间
    */
    private Date createTime;

    /**
     * 明细
     */
    private List<OrderItem> items;
}